package com.phuoc.entities;


public class Establishment {
	private boolean checked = false;
	private String id;
	private String name;
	private long idTypeOfEstablishment;
	private long idTypeOfFood;
	private String location;
	private String dateReview;
	private float rateService;
	private float rateAtmosphere;
	private float rateFood;
	private float rateOverall;
	private String typeOfMeal;
	private float cost;
	private String comment;

	public Establishment() {
		id = "";
		name = "";
		idTypeOfEstablishment = 0;
		idTypeOfFood = 0;
		location = "";
	}

	public Establishment(String id, String name) {
		this.id = id;
		this.name = name;
	}

	public Establishment(String id, String name, long idTypeOfEstablishment,
			long idTypeOfFood, String location) {
		this.id = id;
		this.name = name;
		this.idTypeOfEstablishment = idTypeOfEstablishment;
		this.idTypeOfFood = idTypeOfFood;
		this.location = location;
	}

	// Will be used by the ArrayAdapter in the ListView
	@Override
	public String toString() {
		return getName();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getIdTypeOfEstablishment() {
		return idTypeOfEstablishment;
	}

	public void setIdTypeOfEstablishment(long idTypeOfEstablishment) {
		this.idTypeOfEstablishment = idTypeOfEstablishment;
	}

	public long getIdTypeOfFood() {
		return idTypeOfFood;
	}

	public void setIdTypeOfFood(long idTypeOfFood) {
		this.idTypeOfFood = idTypeOfFood;
	}

	public String getLocation() {
		return this.location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public float getRateService() {
		return rateService;
	}

	public void setRateService(float rateService) {
		this.rateService = rateService;
	}

	public float getRateAtmosphere() {
		return rateAtmosphere;
	}

	public void setRateAtmosphere(float rateAtmosphere) {
		this.rateAtmosphere = rateAtmosphere;
	}

	public float getRateFood() {
		return rateFood;
	}

	public void setRateFood(float rateFood) {
		this.rateFood = rateFood;
	}

	public float getRateOverall() {
		return rateOverall;
	}

	public void setRateOverall(float rateOverall) {
		this.rateOverall = rateOverall;
	}

	public String getTypeOfMeal() {
		return typeOfMeal;
	}

	public void setTypeOfMeal(String typeOfMeal) {
		this.typeOfMeal = typeOfMeal;
	}

	public float getCost() {
		return cost;
	}

	public void setCost(float cost) {
		this.cost = cost;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getDateReview() {
		return dateReview;
	}

	public void setDateReview(String dateReview) {
		this.dateReview = dateReview;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}
}
